<template>
  <hover-container class="w-40px h-full" @click="appStore.switchCollapse">
    <icon icon="line-md:menu-unfold-left" v-if="appStore.menuCollapse" text-16 />
    <icon icon="line-md:menu-fold-left" v-else text-16 />
  </hover-container>
</template>

<script lang="tsx" setup>
import { Icon } from "@iconify/vue";
import { useAppStore } from "@/store";

const appStore = useAppStore();
</script>
